package com.model.dto.device.deviceInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * TODO
 *
 * @Description
 * @Author tm
 * @Date 2023-04-07 19:55
 **/
@Data
public class GetErrorImgInfoDTO {
    @ApiModelProperty(value = "page必须是正整数")
    @Range(min = 0, message = "page必须是正整数")
    private int page = 1;

    @ApiModelProperty(value = "pageSize必须是正整数")
    @Range(min = 0, message = "pageSize必须是正整数")
    private int pageSize = 10;
    @ApiModelProperty(value = "设备类型，2安卓版，3播种机")
    private Integer type;
    @ApiModelProperty(value = "短码")
    private String shortDtu;
    @ApiModelProperty(value = "图片位置,1后置，2前置")
    private String imgPosition;
    @ApiModelProperty(value = "日期，如2023-04-01")
    private String time;
    @ApiModelProperty(value = "开始时间，如2023-04-01 10:09:08")
    private String startTime;
    @ApiModelProperty(value = "结束时间，如2023-04-01 18:08:16")
    private String endTime;
    @ApiModelProperty(value = "token")
    private String token;
}
